package model_domain;

public class Grade {
	private Assignment assignment;
	private Mark mark;
	
	public Grade(Assignment assignment, Mark mark) {
		this.assignment = assignment;
		this.mark = mark;
	}

	public Mark getMark() {
		return mark;
	}

	public void setMark(Mark mark) {
		this.mark = mark;
	}

	public Assignment getAssignment() {
		return assignment;
	}
	
	public String toString(){
		return "Assignment: " + assignment + " Mark: " + mark;
	}
}
